#include <iostream>
#include "Object.h"

int main(int argc, char* argv[])
{
    CPlayer Player;
    CSnapshot Snapshot;
    CMemTo* lpMemTo = nullptr;

    Player.ShowPlayerStatus();
    lpMemTo = Player.Save();
    Snapshot.SetMemTo(lpMemTo);
    Player.SetPlayerStatus(50, 50);
    Player.ShowPlayerStatus();
    Player.Load(Snapshot.GetMemTo());
    Player.ShowPlayerStatus();

    return 0;
}
